package com.zh.tea.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zh.tea.entity.PageTea;
import com.zh.tea.entity.Tea;
import com.zh.tea.entity.TeaExample;

public interface TeaMapper {
    int countByExample(TeaExample example);

    int deleteByExample(TeaExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Tea record);

    int insertSelective(Tea record);

    List<Tea> selectByExample(TeaExample example);

    Tea selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Tea record, @Param("example") TeaExample example);

    int updateByExample(@Param("record") Tea record, @Param("example") TeaExample example);

    int updateByPrimaryKeySelective(Tea record);

    int updateByPrimaryKey(Tea record);
    
    List<Tea> selByPage(PageTea pageTea);
    
    int selCount(PageTea pageTea); 
}